[INFO] cloning repository https://github.com/baransu/pbrt-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/baransu/pbrt-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaransu%2Fpbrt-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaransu%2Fpbrt-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 53ec90df08604b10a992a88fb9991ff98778e43c
[INFO] checking baransu/pbrt-rs against try#b946edaa85de45f124065f52b1bc55ba2fb4f9fb for pr-157562
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaransu%2Fpbrt-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/baransu/pbrt-rs
[INFO] finished tweaking git repo https://github.com/baransu/pbrt-rs
[INFO] tweaked toml for git repo https://github.com/baransu/pbrt-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/baransu/pbrt-rs on toolchain b946edaa85de45f124065f52b1bc55ba2fb4f9fb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/baransu/pbrt-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d125e1d13fa66d212a557219428f97cd5cc45a8576ca816cec2b0b555f0e43e8
[INFO] running `Command { std: "docker" "start" "d125e1d13fa66d212a557219428f97cd5cc45a8576ca816cec2b0b555f0e43e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d125e1d13fa66d212a557219428f97cd5cc45a8576ca816cec2b0b555f0e43e8" "/opt/rustwide/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d125e1d13fa66d212a557219428f97cd5cc45a8576ca816cec2b0b555f0e43e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d125e1d13fa66d212a557219428f97cd5cc45a8576ca816cec2b0b555f0e43e8" "/opt/rustwide/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling num-traits v0.2.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.9
[INFO] [stderr]     Checking byteorder v1.2.3
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling quote v0.6.4
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling syn v0.14.5
[INFO] [stderr]     Checking deflate v0.7.18
[INFO] [stderr]     Checking inflate v0.4.3
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]     Checking bitflags v1.0.3
[INFO] [stderr]    Compiling serde v1.0.70
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking gif v0.10.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking png v0.12.0
[INFO] [stderr]     Checking obj v0.8.2
[INFO] [stderr]    Compiling num-derive v0.2.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking image v0.19.0
[INFO] [stderr]     Checking pbrt-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rayon::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rayon::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/main.rs:339:63
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 let material = intersection.element.material().clone();
[INFO] [stdout]     |                                                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `scene::Material` does not implement `Clone`, so calling `clone` on `&scene::Material` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 339 -                 let material = intersection.element.material().clone();
[INFO] [stdout] 339 +                 let material = intersection.element.material();
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `scene::Material`, implement `Clone` for it
[INFO] [stdout]    --> src/pbrt/scene.rs:68:1
[INFO] [stdout]     |
[INFO] [stdout]  68 + #[derive(Clone)]
[INFO] [stdout]  69 | pub enum Material {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt/scene.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn trace(&self, ray: &Ray) -> Option<Intersection> {
[INFO] [stdout]     |                  ^^^^^                       ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn trace(&self, ray: &Ray) -> Option<Intersection<'_>> {
[INFO] [stdout]     |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/main.rs:339:63
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 let material = intersection.element.material().clone();
[INFO] [stdout]     |                                                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `scene::Material` does not implement `Clone`, so calling `clone` on `&scene::Material` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 339 -                 let material = intersection.element.material().clone();
[INFO] [stdout] 339 +                 let material = intersection.element.material();
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `scene::Material`, implement `Clone` for it
[INFO] [stdout]    --> src/pbrt/scene.rs:68:1
[INFO] [stdout]     |
[INFO] [stdout]  68 + #[derive(Clone)]
[INFO] [stdout]  69 | pub enum Material {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt/scene.rs:154:18
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn trace(&self, ray: &Ray) -> Option<Intersection> {
[INFO] [stdout]     |                  ^^^^^                       ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn trace(&self, ray: &Ray) -> Option<Intersection<'_>> {
[INFO] [stdout]     |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.27s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "d125e1d13fa66d212a557219428f97cd5cc45a8576ca816cec2b0b555f0e43e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d125e1d13fa66d212a557219428f97cd5cc45a8576ca816cec2b0b555f0e43e8", kill_on_drop: false }`
[INFO] [stdout] d125e1d13fa66d212a557219428f97cd5cc45a8576ca816cec2b0b555f0e43e8
